![]() |
PATH![]() |
![]() ![]() |
AppleScript supplies several real and integer constants you can use in arithmetic calculations:
The arithmetic constant 3.14159265359. Described Table A-3.
set circleArea to pi * 7 --result: 21.991148575129
The number of seconds, respectively, in a minute, hour, day, and week. You use these constants when working with dates and times. See also Date, Date and Time Constants, and Date-Time Arithmetic.
date "September 13, 1998" + 4 * days + 3 * hours + 2 * minutes
--result: date "Thursday, September 17, 1998 3:02:00 AM"